
package cn.smartinvoke;
 interface Amf3Types
{
    // AMF marker constants
    int Type_Undefined  = 0;
    int Type_Null       = 1;
    int Type_False      = 2;
    int Type_True       = 3;
    int Type_Integer    = 4;
    int Type_Double     = 5;
    int Type_String     = 6;
    int Type_XML        = 7;
    int Type_Date       = 8;
    int Type_Array      = 9;
    int Type_Object     = 10;
    int Type_AvmPlusXml = 11;
    int Type_ByteArray  = 12;

    String EMPTY_STRING = "";

    /**
     * Internal use only
     * @exclude
     */
    int UINT29_MASK = 0x1FFFFFFF; // 2^29 - 1

    /**
     * The maximum value for an <code>int</code> that will avoid promotion to an
     * ActionScript Number when sent via AMF 3 is 2<sup>28</sup> - 1, or <code>0x0FFFFFFF</code>.
     */
    int INT28_MAX_VALUE = 0x0FFFFFFF; // 2^28 - 1

    /**
     * The minimum value for an <code>int</code> that will avoid promotion to an
     * ActionScript Number when sent via AMF 3 is -2<sup>28</sup> or <code>0xF0000000</code>.
     */
    int INT28_MIN_VALUE = 0xF0000000; // -2^28 in 2^29 scheme
}
